@import url('https://fonts.googleapis.com/css2?family=Bungee+Spice&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #2c3e50; 
    margin: 0;
    padding: 40px 20px;
    

    background: url('./img/ChatGPT\ Image\ 12\ de\ out.\ de\ 2025\,\ 12_09_47.png') fixed no-repeat center center/cover;
}

#container {
    max-width: 1200px;
    margin: 0 auto;
    background-color: rgba(255, 255, 255, 0.95); 
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
    display: grid;
    grid-template-columns: 3fr 1fr;
    grid-template-areas: "intro sidebar"
                         "main sidebar"
                         "footer sidebar";
    border-radius: 8px;
    overflow: hidden;
}



#jar-intro {
    grid-area: intro;
    
    
    background: url('./img/SP2.jpg') no-repeat center center/cover;
    
    color: #fff;
    padding: 60px 40px;
    position: relative;
}


#jar-intro::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    
    background: linear-gradient(to bottom, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.4) 100%);
    z-index: 1;
}

#jar-header,
#jar-summary,
#jar-preamble {
    position: relative;
    z-index: 2;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 1);
}

#jar-header h1 {
    font-family: 'Bungee Spice', cursive;
    font-size: 4.5em;
    margin-bottom: 5px;
    letter-spacing: 3px;
    color: #ffc107; 
}

#jar-header h2 {
   font-family: 'Bungee Spice', cursive;
    font-size: 2em;
    font-weight: 300;
    margin-bottom: 40px;
    color: #e0e0e0;
}

#jar-preamble h3 {
    ont-family: 'Bungee Spice', cursive;
    font-size: 2.2em;
    margin-top: 40px;
    margin-bottom: 15px;
    color: #ffc107;
}

.main.supporting {
    grid-area: main;
    padding: 40px;
     display: flex;
    flex-direction: column; 
    gap: 40px; 
    position: relative;
    
    background-color: rgba(255, 255, 255, 0.95); 
}

.main.supporting h3 {
    font-family: 'Bungee Spice', cursive;
    font-size: 2.2em;
    color: #34495e;
    margin-bottom: 20px;
    border-bottom: 3px solid #f39c12; 
    padding-bottom: 10px;
}

.main.supporting a {
    color: #e67e22; 
    text-decoration: none;
}

.main.supporting a:hover {
    color: #c0392b;
    text-decoration: underline;
}

.sidebar {
    grid-area: sidebar;
    
    background-color:   rgba(0, 0, 0, 0.7); 
    color: #fff;
    padding: 30px 20px;
}

.sidebar h3 {
    font-family: 'Bungee Spice', cursive;
    font-size: 1.8em;
    color: #ffc107;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255, 193, 7, 0.4);
    padding-bottom: 10px;
}

.sidebar ul {
    list-style: none;
    margin-bottom: 30px;
}

.sidebar a {
    color: #e0e0e0;
    text-decoration: none;
    display: block;
    padding: 5px 0;
    transition: color 0.3s ease;
}

.sidebar a:hover {
    color: #ffc107;
    padding-left: 10px;
    background-color: rgba(255, 255, 255, 0.1);
}

#jar-footer {
    grid-area: footer;
    background-color: #34495e;
    color: #aaa;
    text-align: center;
    padding: 20px;
    font-size: 0.9em;
}

#jar-footer a {
    color: #ffc107;
    text-decoration: none;
    margin: 0 10px;
}

@media (max-width: 850px) {
    #container {
        grid-template-columns: 1fr; 
        grid-template-areas: "intro"
                             "sidebar"
                             "main"
                             "footer";
    }
}